package com.zhixiang.xaec.entity.safebase.relatedparty;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;
/**
 * @author:XULE
 * @version:2016-12-22
 * 
 */
@Comment("隐患整改")
@Entity
@Table(name="safebase_Rectification")    
public class Rectification extends BaseEntity{
	
	@Comment("整改时间")
	private Date changeDate;
	@Comment("整改人/部门")
	private String department;
	@Comment("整改措施")
	private String changeMeasures;
	@Comment("整改结论")
	private String changeConclusion;
	@Comment("存在问题（隐患）di")
	private Long existingProblemsId;
	
	@JSON(format="yyyy-MM-dd")
	public Date getChangeDate() {
		return changeDate;
	}
	public void setChangeDate(Date changeDate) {
		this.changeDate = changeDate;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getChangeMeasures() {
		return changeMeasures;
	}
	public void setChangeMeasures(String changeMeasures) {
		this.changeMeasures = changeMeasures;
	}
	public String getChangeConclusion() {
		return changeConclusion;
	}
	public void setChangeConclusion(String changeConclusion) {
		this.changeConclusion = changeConclusion;
	}
	public Long getExistingProblemsId() {
		return existingProblemsId;
	}
	public void setExistingProblemsId(Long existingProblemsId) {
		this.existingProblemsId = existingProblemsId;
	}
	
}
